A convex polygon is a polygon with all interior angles smaller in measure than a straight angle (180°).

In a convex polygon, all diagonals will occur in the interior of the polygon, as illustrated the the example below left.

In a concave polygon, not all diagonals (or all of a diagonal) will occur in the interior of the polygon, as illustrated the the example above right.
 Image onlyInstructions text as in global.js
Image onlyInstructions text as in global.js